#include <oski/common.h>
#include <oski/mangle.h>
#include <oski/matcommon.h>
Functions | |
oski_inmatprop_t | oski_TransposePatternProp (oski_inmatprop_t pattern) |
This routine returns the same pattern if it is unknown or does not have a corresponding transpose. | |
void | oski_TransposeProps (oski_matcommon_t *props) |
Changes the common properties of some matrix ![]() ![]() |
oski_inmatprop_t oski_TransposePatternProp | ( | oski_inmatprop_t | pattern | ) |
This routine returns the same pattern if it is unknown or does not have a corresponding transpose.
Given a pattern type, return the corresponding transposed type.
References MAT_HERM_LOWER, MAT_HERM_UPPER, MAT_SYMM_LOWER, MAT_SYMM_UPPER, MAT_TRI_LOWER, and MAT_TRI_UPPER.
void oski_TransposeProps | ( | oski_matcommon_t * | props | ) |
Changes the common properties of some matrix to the equivalent properties of
.
Transpose common properties.
[in,out] | props | Properties to transpose. Overwritten on return. |
References oski_matcommon_t::is_tri_lower, oski_matcommon_t::is_tri_upper, oski_matcommon_t::num_cols, oski_matcommon_t::num_rows, and oski_matcommon_t::pattern.