Changeset 9769


Ignore:
Timestamp:
Apr 7, 2017 3:28:45 PM (3 years ago)
Author:
Christian Andersson
Message:

Created new files for collecting all linear algebra routines. Related to ticket:4815

Location:
trunk/RuntimeLibrary/src/jmi
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/RuntimeLibrary/src/jmi/CMakeLists.txt

    r9753 r9769  
    3333    jmi_types.c
    3434   
     35    # Math
     36    jmi_linear_algebra.h
     37    jmi_linear_algebra.c
     38   
    3539    # Logging sources
    36     jmi_callbacks.h
     40    jmi_callbacks.h
    3741    jmi_log.h
    3842    jmi_log_impl.h
     
    4347    jmi_block_solver.h
    4448    jmi_block_solver_impl.h
    45     jmi_block_log.h
     49    jmi_block_log.h
    4650    jmi_kinsol_solver.h
    4751    jmi_brent_solver.h
     
    5155
    5256    jmi_block_solver.c
    53     jmi_block_log.c
     57    jmi_block_log.c
    5458    jmi_kinsol_solver.c
    5559    jmi_brent_solver.c
  • trunk/RuntimeLibrary/src/jmi/jmi_types.h

    r9630 r9769  
    6464#define JMI_MIN(X,Y) ((X) < (Y) ? (X) : (Y))
    6565#define JMI_ABS(X)   ((X) < (0) ? (-1*(X)) : (X))
     66#define JMI_SIGN(X)  ((X) >= (0) ? 1 : (-1))
    6667
    6768#define JMI_DEF(TYPE, NAME) \
Note: See TracChangeset for help on using the changeset viewer.