fmatvec 0.0.0

Public Member Functions | Private Member Functions | Friends | List of all members
fmatvec::IndependentVariable Class Reference

`#include <ast.h>`

Inheritance diagram for fmatvec::IndependentVariable:
[legend]

## Public Member Functions

| IndependentVariable ()
| Creates a IndependentVariable variable (each call to this ctor creates a new independent variable)
| IndependentVariable (const std::string &str)
| Creates a IndependentVariable variable from the specified string (the string is a serialized IndependentVariable).
IndependentVariable & | operator^= (double x)
| Set the double value of the independent value.
Public Member Functions inherited from fmatvec::SymbolicExpression
| SymbolicExpression ()
| Creates the value 0.
| SymbolicExpression (const std::string &str)
| Creates a expression form the specified string (the string must be a serialized SymbolicExpression).
| SymbolicExpression (int x)
| Creates a integer constant.
| SymbolicExpression (long x)
| SymbolicExpression (double x)
| Creates a double constant.
| SymbolicExpression (const SymbolicExpression &x)=default
| SymbolicExpression (SymbolicExpression &&x)=default
SymbolicExpression & | operator= (const SymbolicExpression &x)=default
SymbolicExpression & | operator= (SymbolicExpression &&x)=default
SymbolicExpression | operator+ (const SymbolicExpression &b) const
SymbolicExpression | operator- (const SymbolicExpression &b) const
SymbolicExpression | operator* (const SymbolicExpression &b) const
SymbolicExpression | operator/ (const SymbolicExpression &b) const
SymbolicExpression | operator- () const
SymbolicExpression & | operator+= (const SymbolicExpression &b)
SymbolicExpression & | operator-= (const SymbolicExpression &b)
SymbolicExpression & | operator*= (const SymbolicExpression &b)
SymbolicExpression & | operator/= (const SymbolicExpression &b)
SymbolicExpression & | operator<<= (const SymbolicExpression &src)
template<class T >
| SymbolicExpression (const shared_ptr< T > &x)

## Private Member Functions

| IndependentVariable (const shared_ptr< const AST::Symbol > &x)

## Friends

class | AST::Symbol
FMATVEC_EXPORT std::istream & | operator>> (std::istream &s, IndependentVariable &v)
| Create/initialize a IndependentVariable from a stream using deserialization.

## Additional Inherited Members

Static Public Member Functions inherited from fmatvec::SymbolicExpression
static void | garbageCollect ()
Protected Member Functions inherited from fmatvec::SymbolicExpression
template<class T >
| SymbolicExpression (const shared_ptr< T > &x)
| SymbolicExpression (ConstructSymbol)
Static Protected Attributes inherited from fmatvec::SymbolicExpression
static const struct fmatvec::SymbolicExpression::ConstructSymbol | constructSymbol

## Detailed Description

A independent variable. Any SymbolicExpression can be partialliy differentiated with respect to a independent variable. An independent varible can also be assigned a value which is used if eval is called.

The documentation for this class was generated from the following files:

- /mbsim-env/fmatvec/fmatvec/ast.h
- /mbsim-env/fmatvec/fmatvec/ast.cc