Changes between Version 7 and Version 8 of Functions


Ignore:
Timestamp:
May 30, 2007, 4:17:59 PM (15 years ago)
Author:
Rafael de Pelegrini Soares
Comment:

elemet-by-element versus matrix transformation functions

Legend:

Unmodified
Added
Removed
Modified
  • Functions

    v7 v8  
    66[http://www.enq.ufrgs.br/trac/alsoc/browser/trunk/sample/miscellaneous sample/miscellaneous].
    77
    8 == Hyperbolic ==
     8== Element-by-Element Functions ==
     9
     10All functions in this category work for scalars, vectors, and matrices.
     11
     12The returned values of these functions always have the same dimensions of its arguments.
     13
     14=== Hyperbolic ===
    915
    1016        || hyperbolic sine      || sinh(Z) || Returns the hyperbolic sine of Z ||
     
    1319        || hyperbolic cotangent || coth(Z) || Returns the hyperbolic cotangent of Z||
    1420
    15 == Trigonometric ==
     21=== Trigonometric ===
    1622
    1723        || sine         ||  sin(Z) || Returns the  sine of Z||
     
    2228        || arc tangent  ||  atan(Z)|| Returns the angle whose tangent is Z||
    2329
    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 ===
    3331
    3432        || exponential          || exp(Z) || Returns the exponential function, e raised to the power Z||
     
    3836        || Time derivative      || diff(Z)|| Returns the derivative of a function Z with respect to time||
    3937
    40 == Discontinuous Functions ==
     38=== Discontinuous Functions ===
    4139
    4240        || absolute value||  abs(Z)  || Returns the magnitude or absolute value of Z ||
     
    4543        || signal        ||  sign(Z) || Returns the signal of Z ''(sign(Z):-1 if Z < 0 e 1  if Z > 0)'' ||
    4644        || small integer ||  round(Z)|| Returns the small integer value of Z ||
     45
     46
     47== Matrix Transformation Functions ==
     48
     49The functions in this category make sense only for vector and matrix arguments.
     50The 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