rust_blas/
attribute.rs

1// Copyright 2014 Michael Yang. All rights reserved.
2// Use of this source code is governed by a MIT-style
3// license that can be found in the LICENSE file.
4
5//! Various attributes of vectors and matrices.
6
7#[repr(C)]
8#[derive(Copy, Clone)]
9pub enum Order {
10    RowMajor = 101,
11    ColMajor = 102,
12}
13
14#[repr(C)]
15#[derive(Copy, Clone)]
16pub enum Transpose {
17    NoTrans = 111,
18    Trans = 112,
19    ConjTrans = 113,
20}
21
22#[repr(C)]
23#[derive(Copy, Clone)]
24pub enum Symmetry {
25    Upper = 121,
26    Lower = 122,
27}
28
29#[repr(C)]
30#[derive(Copy, Clone)]
31pub enum Diagonal {
32    NonUnit = 131,
33    Unit = 132,
34}
35
36#[repr(C)]
37#[derive(Copy, Clone)]
38pub enum Side {
39    Left = 141,
40    Right = 142,
41}