Changes between Version 7 and Version 8 of Functions
 Timestamp:
 May 30, 2007, 4:17:59 PM (15 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Functions
v7 v8 6 6 [http://www.enq.ufrgs.br/trac/alsoc/browser/trunk/sample/miscellaneous sample/miscellaneous]. 7 7 8 == Hyperbolic == 8 == ElementbyElement Functions == 9 10 All functions in this category work for scalars, vectors, and matrices. 11 12 The returned values of these functions always have the same dimensions of its arguments. 13 14 === Hyperbolic === 9 15 10 16  hyperbolic sine  sinh(Z)  Returns the hyperbolic sine of Z  … … 13 19  hyperbolic cotangent  coth(Z)  Returns the hyperbolic cotangent of Z 14 20 15 == Trigonometric==21 === Trigonometric === 16 22 17 23  sine  sin(Z)  Returns the sine of Z … … 22 28  arc tangent  atan(Z) Returns the angle whose tangent is Z 23 29 24 == Vector and Matrix == 25 26  sum  sum(Z)  Returns the sum of components of a vector or matrix Z  27  product  prod(Z) Returns the product of a vector or matrix Z  28  transpose sum  sumt(Z) Returns the transpose sum of components of a vector or matrix Z 29  transpose product  prodt(Z) Returns the transpose product of components of a vector or matrix Z  30  transpose  transp(Z) Returns the transpose of a matrix Z 31 32 == Mathematic == 30 === Mathematic === 33 31 34 32  exponential  exp(Z)  Returns the exponential function, e raised to the power Z … … 38 36  Time derivative  diff(Z) Returns the derivative of a function Z with respect to time 39 37 40 == Discontinuous Functions==38 === Discontinuous Functions === 41 39 42 40  absolute value abs(Z)  Returns the magnitude or absolute value of Z  … … 45 43  signal  sign(Z)  Returns the signal of Z ''(sign(Z):1 if Z < 0 e 1 if Z > 0)''  46 44  small integer  round(Z) Returns the small integer value of Z  45 46 47 == Matrix Transformation Functions == 48 49 The functions in this category make sense only for vector and matrix arguments. 50 The return value can be a scalar, vector, or matrix depending on the function and the argument. 51 52 === Vector and Matrix === 53 54  sum  sum(VEC)  Returns a scalar with the sum of all elements of the vector VEC  55   sum(MAT)  Returns a vector with the sum of each column of the matrix MAT  56   sumt(MAT) Returns a vector with the sum of each row of the matrix MAT  57  product  prod(VEC) Returns a scalar with the product of all elemtns of the vector VEC  58   prod(MAT) Returns a vector with the product of each column of the matrix MAT  59   prodt(MAT) Returns a vector with the product of each row of the matrix MAT  60  transpose  transp(MAT) Returns the transpose of a matrix MAT  61