diff --git a/docs/DelayedUnaryIsometricOperation_8hpp_source.html b/docs/DelayedUnaryIsometricOperation_8hpp_source.html index fba5b494..341fbb7f 100644 --- a/docs/DelayedUnaryIsometricOperation_8hpp_source.html +++ b/docs/DelayedUnaryIsometricOperation_8hpp_source.html @@ -825,9 +825,11 @@
- + - + + +data()
method data()
method Matrix
instance OracularDenseExtractor
interface OracularSparseExtractor
interface data()
method data()
method Matrix
instance OracularDenseExtractor
interface OracularSparseExtractor
interface
+ tatami
+
+ C++ API for different matrix representations
+ |
+
This is the complete list of members for tatami::DelayedUnaryIsometricSubstituteScalar< op_, Value_, Scalar_ >, including all inherited members.
+DelayedUnaryIsometricSubstituteScalar(Scalar_ compared, Scalar_ substitute) | tatami::DelayedUnaryIsometricSubstituteScalar< op_, Value_, Scalar_ > | inline |
+ tatami
+
+ C++ API for different matrix representations
+ |
+
Delayed scalar substitution. + More...
+ +#include <substitute_helpers.hpp>
+Public Member Functions | |
DelayedUnaryIsometricSubstituteScalar (Scalar_ compared, Scalar_ substitute) | |
Delayed scalar substitution.
+This should be used as the Operation_
in the DelayedUnaryIsometricOperation
class.
op_ | The comparison operation. |
Value_ | Type of the data value. |
Scalar_ | Type of the scalar value. |
+
|
+ +inline | +
compared | Scalar value to be compared to the matrix values. The matrix value is assumed to be on the left hand side of the comparison, while compared is on the right. |
substitue | Scalar value to substitute into the matrix for every element where the comparison to compared is true. |
+ tatami
+
+ C++ API for different matrix representations
+ |
+
This is the complete list of members for tatami::DelayedUnaryIsometricSubstituteVector< op_, Value_, Vector_ >, including all inherited members.
+DelayedUnaryIsometricSubstituteVector(Vector_ compared, Vector_ substitute, bool by_row) | tatami::DelayedUnaryIsometricSubstituteVector< op_, Value_, Vector_ > | inline |
+ tatami
+
+ C++ API for different matrix representations
+ |
+
Delayed vector comparisons. + More...
+ +#include <substitute_helpers.hpp>
+Public Member Functions | |
DelayedUnaryIsometricSubstituteVector (Vector_ compared, Vector_ substitute, bool by_row) | |
Delayed vector comparisons.
+This should be used as the Operation_
in the DelayedUnaryIsometricOperation
class.
op_ | The comparison operation. |
Value_ | Type of the data value. |
Vector_ | Type of the vector. |
+
|
+ +inline | +
compared | Vector to use in the comparison with the matrix values. This should be of length equal to the number of rows if by_row = true , otherwise it should be of length equal to the number of columns. The matrix value from each row/column is assumed to be on the left hand side of the comparison, while the corresponding value of compared is on the right. |
substitute | Vector containing values to be substituted into the matrix at every element where the comparison to the corresponding element of compared is true. This should be of length equal to the number of rows if by_row = true , otherwise it should be of length equal to the number of columns. |
by_row | Whether compared and substitute corresponds to the rows. If true, each element of the vectors is assumed to correspond to a row, and that element is used as an operand with all entries in the same row of the matrix. If false, each element of the vectors is assumed to correspond to a column instead. |
tatami::DelayedUnaryIsometricOperation
helpers. tatami::DelayedUnaryIsometricOperation
helpers tatami::Matrix
objects data()
method tatami::Matrix
tatami::Matrix
pointer inside a mock shared pointer tatami::Matrix
objects data()
method tatami::Matrix
tatami::Matrix
pointer inside a mock shared pointer data()
method data()
method Matrix
to a different interface type Matrix
instance OracularDenseExtractor
interface OracularSparseExtractor
interface data()
method data()
method Matrix
to a different interface type Matrix
instance OracularDenseExtractor
interface OracularSparseExtractor
interface data()
method data()
method Matrix
instance OracularDenseExtractor
interface OracularSparseExtractor
interface data()
method data()
method Matrix
instance OracularDenseExtractor
interface OracularSparseExtractor
interface DelayedUnaryIsometricOperation
class. DelayedUnaryIsometricSubstituteScalar< CompareOperation::EQUAL, Value_, Scalar_ > tatami::make_DelayedUnaryIsometricSubstituteEqualScalar | +( | +Scalar_ | +compared, | +
+ | + | Scalar_ | +substitute | +
+ | ) | ++ |
Value_ | Type of the data value. |
Scalar_ | Type of the scalar. |
compared | Scalar to be compared to the matrix values. |
substitute | Scalar value to substitute into the matrix when the comparison is true. |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteScalar< CompareOperation::GREATER_THAN, Value_, Scalar_ > tatami::make_DelayedUnaryIsometricSubstituteGreaterThanScalar | +( | +Scalar_ | +compared, | +
+ | + | Scalar_ | +substitute | +
+ | ) | ++ |
Value_ | Type of the data value. |
Scalar_ | Type of the scalar. |
compared | Scalar to be compared to the matrix values. |
substitute | Scalar value to substitute into the matrix when the comparison is true. |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteScalar< CompareOperation::LESS_THAN, Value_, Scalar_ > tatami::make_DelayedUnaryIsometricSubstituteLessThanScalar | +( | +Scalar_ | +compared, | +
+ | + | Scalar_ | +substitute | +
+ | ) | ++ |
Value_ | Type of the data value. |
Scalar_ | Type of the scalar. |
compared | Scalar to be compared to the matrix values. |
substitute | Scalar value to substitute into the matrix when the comparison is true. |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteScalar< CompareOperation::GREATER_THAN_OR_EQUAL, Value_, Scalar_ > tatami::make_DelayedUnaryIsometricSubstituteGreaterThanOrEqualScalar | +( | +Scalar_ | +compared, | +
+ | + | Scalar_ | +substitute | +
+ | ) | ++ |
Value_ | Type of the data value. |
Scalar_ | Type of the scalar. |
compared | Scalar to be compared to the matrix values. |
substitute | Scalar value to substitute into the matrix when the comparison is true. |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteScalar< CompareOperation::LESS_THAN_OR_EQUAL, Value_, Scalar_ > tatami::make_DelayedUnaryIsometricSubstituteLessThanOrEqualScalar | +( | +Scalar_ | +compared, | +
+ | + | Scalar_ | +substitute | +
+ | ) | ++ |
Value_ | Type of the data value. |
Scalar_ | Type of the scalar. |
compared | Scalar to be compared to the matrix values. |
substitute | Scalar to substitute into the matrix when the comparison is true. |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteScalar< CompareOperation::NOT_EQUAL, Value_, Scalar_ > tatami::make_DelayedUnaryIsometricSubstituteNotEqualScalar | +( | +Scalar_ | +compared, | +
+ | + | Scalar_ | +substitute | +
+ | ) | ++ |
Value_ | Type of the data value. |
Scalar_ | Type of the scalar. |
compared | Scalar to be compared to the matrix values. |
substitute | Scalar value to substitute into the matrix when the comparison is true. |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteVector< CompareOperation::EQUAL, Value_, Vector_ > tatami::make_DelayedUnaryIsometricSubstituteEqualVector | +( | +Vector_ | +compared, | +
+ | + | Vector_ | +substitute, | +
+ | + | bool | +by_row | +
+ | ) | ++ |
Value_ | Type of the data value. |
Vector_ | Type of the vector. |
compared | Vector to be compared to the matrix values. |
substitute | Vector containing values to substitute into the matrix when the comparison is true. |
by_row | Whether each element of compared and substitute corresponds to a row, see DelayedUnaryIsometricSubstituteVector . |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteVector< CompareOperation::GREATER_THAN, Value_, Vector_ > tatami::make_DelayedUnaryIsometricSubstituteGreaterThanVector | +( | +Vector_ | +compared, | +
+ | + | Vector_ | +substitute, | +
+ | + | bool | +by_row | +
+ | ) | ++ |
Value_ | Type of the data value. |
Vector_ | Type of the vector. |
compared | Vector to be compared to the matrix values. |
substitute | Vector containing values to substitute into the matrix when the comparison is true. |
by_row | Whether each element of compared and substitute corresponds to a row, see DelayedUnaryIsometricSubstituteVector . |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteVector< CompareOperation::LESS_THAN, Value_, Vector_ > tatami::make_DelayedUnaryIsometricSubstituteLessThanVector | +( | +Vector_ | +compared, | +
+ | + | Vector_ | +substitute, | +
+ | + | bool | +by_row | +
+ | ) | ++ |
Value_ | Type of the data value. |
Vector_ | Type of the vector. |
compared | Vector to be compared to the matrix values. |
substitute | Vector containing values to substitute into the matrix when the comparison is true. |
by_row | Whether each element of compared and substitute corresponds to a row, see DelayedUnaryIsometricSubstituteVector . |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteVector< CompareOperation::GREATER_THAN_OR_EQUAL, Value_, Vector_ > tatami::make_DelayedUnaryIsometricSubstituteGreaterThanOrEqualVector | +( | +Vector_ | +compared, | +
+ | + | Vector_ | +substitute, | +
+ | + | bool | +by_row | +
+ | ) | ++ |
Value_ | Type of the data value. |
Vector_ | Type of the vector. |
compared | Vector to be compared to the matrix values. |
substitute | Vector containing values to substitute into the matrix when the comparison is true. |
by_row | Whether each element of compared and substitute corresponds to a row, see DelayedUnaryIsometricSubstituteVector . |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteVector< CompareOperation::LESS_THAN_OR_EQUAL, Value_, Vector_ > tatami::make_DelayedUnaryIsometricSubstituteLessThanOrEqualVector | +( | +Vector_ | +compared, | +
+ | + | Vector_ | +substitute, | +
+ | + | bool | +by_row | +
+ | ) | ++ |
Value_ | Type of the data value. |
Vector_ | Type of the vector. |
compared | Vector to be compared to the matrix values. |
substitute | Vector containing values to substitute into the matrix when the comparison is true. |
by_row | Whether each element of compared and substitute corresponds to a row, see DelayedUnaryIsometricSubstituteVector . |
operation
in a DelayedUnaryIsometricOperation
. DelayedUnaryIsometricSubstituteVector< CompareOperation::NOT_EQUAL, Value_, Vector_ > tatami::make_DelayedUnaryIsometricSubstituteNotEqualVector | +( | +Vector_ | +compared, | +
+ | + | Vector_ | +substitute, | +
+ | + | bool | +by_row | +
+ | ) | ++ |
Value_ | Type of the data value. |
Vector_ | Type of the vector. |
compared | Vector to be compared to the matrix values. |
substitute | Vector containing values to substitute into the matrix when the comparison is true. |
by_row | Whether each element of compared and substitute corresponds to a row, see DelayedUnaryIsometricSubstituteVector . |
operation
in a DelayedUnaryIsometricOperation
.
+ tatami
+
+ C++ API for different matrix representations
+ |
+
Helper classes for delayed unary isometric substitution. +More...
+ +Go to the source code of this file.
++Classes | |
class | tatami::DelayedUnaryIsometricSubstituteScalar< op_, Value_, Scalar_ > |
Delayed scalar substitution. More... | |
class | tatami::DelayedUnaryIsometricSubstituteVector< op_, Value_, Vector_ > |
Delayed vector comparisons. More... | |
+Namespaces | |
namespace | tatami |
Flexible representations for matrix data. | |
Helper classes for delayed unary isometric substitution.
+
+ tatami
+
+ C++ API for different matrix representations
+ |
+