CVM Class Library
8.1
This C++ class library encapsulates concepts of vector and different matrices including square, band, symmetric and hermitian ones in Euclidean space of real and complex numbers.
|
Go to the source code of this file.
Classes | |
class | FunctionFactory< T > |
Function Factory (not end-user) More... | |
class | BaseFunction< T > |
Generic function (not end-user) More... | |
class | UnaryFunction< T > |
Generic unary function (not end-user) More... | |
class | BinaryFunction< T > |
Generic binary function (not end-user) More... | |
class | basic_function< T > |
End-user class encapsulating elementary function of real or complex numbers (depending on T type). More... | |
class | FArray< T > |
Generalized array of functions class (not end-user) More... | |
class | basic_fvector< T > |
Vector of functions class. More... | |
class | rfvector |
Vector of real functions. More... | |
class | cfvector |
Vector of complex functions. More... | |
class | basic_fmatrix< T > |
Matrix of functions class More... | |
class | rfmatrix |
Matrix of real functions More... | |
class | cfmatrix |
Matrix of complex functions More... |
Macros | |
#define | CFUN_K_FUN 1 |
#define | CFUN_K_VAR 2 |
#define | CFUN_K_CONST 3 |
#define | CFUN_K_PLUS 10 |
#define | CFUN_K_MINUS 11 |
#define | CFUN_K_MULT 12 |
#define | CFUN_K_DIV 13 |
#define | CFUN_K_POWER 14 |
#define | CFUN_K_EXP 16 |
#define | CFUN_K_SQRT 17 |
#define | CFUN_K_LOG 18 |
#define | CFUN_K_LOG10 19 |
#define | CFUN_K_SIN 20 |
#define | CFUN_K_COS 21 |
#define | CFUN_K_TAN 22 |
#define | CFUN_K_ARCSIN 23 |
#define | CFUN_K_ARCCOS 24 |
#define | CFUN_K_ARCTAN 25 |
#define | CFUN_K_SINH 26 |
#define | CFUN_K_COSH 27 |
#define | CFUN_K_TANH 28 |
#define | CFUN_K_UMINUS 29 |
#define | CFUN_K_SIGN 30 |
#define | CFUN_K_ABS 31 |
#define | CFUN_K_DELTA 32 |
#define | CFUN_K_INFINITY 33 |
#define | CFUN_K_MNINFINITY 34 |
#define | CFUN_K_INTSIN 35 |
#define | CFUN_K_INTCOS 36 |
#define | CFUN_K_SAT 37 |
#define | CFUN_K_DSOLVE 38 |
#define | CFUN_K_IIF 39 |
#define | CFUN_O_BRACE '{' |
#define | CFUN_C_BRACE '}' |
#define | CFUN_O_BRACKET '[' |
#define | CFUN_C_BRACKET ']' |
#define | CFUN_O_PARENTH '(' |
#define | CFUN_C_PARENTH ')' |
#define | CFUN_O_SPARENTH "(" |
#define | CFUN_C_SPARENTH ")" |
#define | CFUN_COMMA ',' |
#define | CFUN_PLUS '+' |
#define | CFUN_MINUS '-' |
#define | CFUN_POWER '^' |
#define | CFUN_MULT '*' |
#define | CFUN_DIV '/' |
#define | CFUN_POINT '.' |
#define | CFUN_SIGNS "()+-^*/" |
#define | CFUN_INF "INF" |
#define | CFUN_EXP "exp" |
#define | CFUN_SQRT "sqrt" |
#define | CFUN_LOG "log" |
#define | CFUN_LOG10 "log10" |
#define | CFUN_SIN "sin" |
#define | CFUN_COS "cos" |
#define | CFUN_TAN "tan" |
#define | CFUN_ASIN "asin" |
#define | CFUN_ACOS "acos" |
#define | CFUN_ATAN "atan" |
#define | CFUN_SINH "sinh" |
#define | CFUN_COSH "cosh" |
#define | CFUN_TANH "tanh" |
#define | CFUN_SI "sinint" |
#define | CFUN_CI "cosint" |
#define | CFUN_SMINUS "-" |
#define | CFUN_SPLUS "+" |
#define | CFUN_SMULT "*" |
#define | CFUN_SDIV "/" |
#define | CFUN_SPOWER "^" |
#define | CFUN_SCOMMA "," |
#define | CFUN_SSPACE " " |
#define | CFUN_SIGN "sign" |
#define | CFUN_ABS "abs" |
#define | CFUN_IIF "iif" |
#define | CFUN_DELTA "delta" |
#define | CFUN_POWERS "power" |
#define | CFUN_SAT "sat" |
#define | CFUN_I "i" |
#define | CFUN_SPACES " \t\r\n" |
#define | CFUN_SINF CFUN_O_SPARENTH CFUN_INF CFUN_C_SPARENTH |
#define | CFUN_SMINF CFUN_O_SPARENTH CFUN_SMINUS CFUN_INF CFUN_C_SPARENTH |
#define | CFUN_NOT_FOUND size_t(~0) |
#define | CFUN_M_ZERO 0.L |
#define | CFUN_M_ONE 1.L |
#define | CFUN_M_TWO 2.L |
#define | CFUN_M_MONE -1.L |
#define | CFUN_M_HALF 0.5L |
#define | CFUN_M_E 2.7182818284590452353602874713527L |
#define | CFUN_M_LN2 0.69314718055994530941723212145818L |
#define | CFUN_M_PI 3.1415926535897932384626433832795L |
#define | CFUN_M_PI_2 1.5707963267948966192313216916398L |
#define | CFUN_M_LN_10 2.3025850929940456840179914546844L |
#define | CFUN_M_GAMMA 0.57721566490153286060651209008240243L |
#define | CFUN_OK CVM_OK |
#define | CFUN_PARSEERROR CVM_THE_LAST_ERROR_CODE + 1 |
Error code for "Error while parsing \'%s\' for variables %s". | |
#define | CFUN_DOMAINERROR CVM_THE_LAST_ERROR_CODE + 2 |
Error code for "Domain error while calculating %s of %g". | |
#define | CFUN_DOMAINERROR_C CVM_THE_LAST_ERROR_CODE + 3 |
Error code for "Domain error while calculating %s of (%g,%g)". | |
#define | CFUN_CONVERGENCEERROR CVM_THE_LAST_ERROR_CODE + 4 |
Error code for "Convergence error while calculating %s of %g". | |
#define | CFUN_CONVERGENCEERROR_C CVM_THE_LAST_ERROR_CODE + 5 |
Error code for "Convergence error while calculating %s of (%g,%g)". | |
#define | CFUN_SUBSTPARAMETERERROR CVM_THE_LAST_ERROR_CODE + 6 |
Error code for "Error while substituting parameter \'%s\'". | |
#define | CFUN_VARSDONTMATCH CVM_THE_LAST_ERROR_CODE + 7 |
Error code for "Variables don\'t match: \'%s\' vs. \'%s\'". | |
#define | CFUN_NULLPOINTERERROR CVM_THE_LAST_ERROR_CODE + 8 |
Error code for "Null pointer passed to \'%s\'". | |
#define | CFUN_PARAMETER_RECURSION CVM_THE_LAST_ERROR_CODE + 9 |
Error code for "Parameter \'%s\' can\'t be a part of its own meaning \'%s\'". | |
#define | CFUN_SIMPS_STACK_DEPTH 32 |
#define | CFUN_MAX_EI_ITERATIONS 1000 |
Typedefs | |
typedef basic_function< treal > | rfunction |
End-user class: function of real variables, see basic_function. | |
typedef basic_function< tcomplex > | cfunction |
End-user class: function of complex variables, see basic_function. |
Variables | |
CVM_NAMESPACE_BEG typedef std::vector< std::string > | string_array |
Array of strings. |
#define CFUN_SINF CFUN_O_SPARENTH CFUN_INF CFUN_C_SPARENTH |
#define CFUN_SMINF CFUN_O_SPARENTH CFUN_SMINUS CFUN_INF CFUN_C_SPARENTH |
#define CFUN_PARSEERROR CVM_THE_LAST_ERROR_CODE + 1 |
#define CFUN_DOMAINERROR CVM_THE_LAST_ERROR_CODE + 2 |
#define CFUN_DOMAINERROR_C CVM_THE_LAST_ERROR_CODE + 3 |
#define CFUN_CONVERGENCEERROR CVM_THE_LAST_ERROR_CODE + 4 |
#define CFUN_CONVERGENCEERROR_C CVM_THE_LAST_ERROR_CODE + 5 |
#define CFUN_SUBSTPARAMETERERROR CVM_THE_LAST_ERROR_CODE + 6 |
#define CFUN_VARSDONTMATCH CVM_THE_LAST_ERROR_CODE + 7 |
#define CFUN_NULLPOINTERERROR CVM_THE_LAST_ERROR_CODE + 8 |
#define CFUN_PARAMETER_RECURSION CVM_THE_LAST_ERROR_CODE + 9 |
typedef basic_function<treal> rfunction |
End-user class: function of real variables, see basic_function.
typedef basic_function<tcomplex> cfunction |
End-user class: function of complex variables, see basic_function.
CVM_NAMESPACE_BEG typedef std::vector<std::string> string_array |