My Project
OSMatrix.cpp File Reference

This file defines the OSMatrix class along with its supporting classes. More...

#include "OSMatrix.h"
#include "OSGeneral.h"
#include "OSParameters.h"
#include "OSErrorClass.h"
#include "OSMathUtil.h"
#include "OSBase64.h"
#include "OSOutput.h"
#include "OSgLWriter.h"
#include <iostream>
#include <sstream>

Go to the source code of this file.

Functions

LinearMatrixElementconvertToLinearMatrixElement (double val)
 Some methods to convert one type of matrix element into another.
 
LinearMatrixElementconvertToLinearMatrixElement (int varref)
 
ScalarExpressionTreeconvertToGeneralMatrixElement (double val)
 
ScalarExpressionTreeconvertToGeneralMatrixElement (int refIdx, bool varRef)
 
ScalarExpressionTreeconvertToGeneralMatrixElement (LinearMatrixElement *linearExpr)
 
ScalarExpressionTreeconvertToGeneralMatrixElement (ConReferenceMatrixElement *val)
 
ConReferenceMatrixElementconvertToConReferenceMatrixElement (int objref)
 

Detailed Description

This file defines the OSMatrix class along with its supporting classes.

Author
Horand Gassmann, Jun Ma, Kipp Martin
Remarks
Copyright (C) 2005-2015, Horand Gassmann, Jun Ma, Kipp Martin, Northwestern University, and the University of Chicago. All Rights Reserved. This software is licensed under the Eclipse Public License. Please see the accompanying LICENSE file in root directory for terms.

Definition in file OSMatrix.cpp.

Function Documentation

◆ convertToLinearMatrixElement() [1/2]

LinearMatrixElement * convertToLinearMatrixElement ( double val)

Some methods to convert one type of matrix element into another.

Definition at line 6632 of file OSMatrix.cpp.

◆ convertToLinearMatrixElement() [2/2]

LinearMatrixElement * convertToLinearMatrixElement ( int varref)

Definition at line 6648 of file OSMatrix.cpp.

◆ convertToGeneralMatrixElement() [1/4]

ScalarExpressionTree * convertToGeneralMatrixElement ( double val)

Definition at line 6667 of file OSMatrix.cpp.

◆ convertToGeneralMatrixElement() [2/4]

ScalarExpressionTree * convertToGeneralMatrixElement ( int refIdx,
bool varRef )

Definition at line 6689 of file OSMatrix.cpp.

◆ convertToGeneralMatrixElement() [3/4]

ScalarExpressionTree * convertToGeneralMatrixElement ( LinearMatrixElement * linearExpr)

Definition at line 6718 of file OSMatrix.cpp.

◆ convertToGeneralMatrixElement() [4/4]

ScalarExpressionTree * convertToGeneralMatrixElement ( ConReferenceMatrixElement * val)

Definition at line 6767 of file OSMatrix.cpp.

◆ convertToConReferenceMatrixElement()

ConReferenceMatrixElement * convertToConReferenceMatrixElement ( int objref)

Definition at line 6780 of file OSMatrix.cpp.