データ構造 | ネームスペース | 関数
vector.h

各次元に対応したベクトル演算を行うためのライブラリ [詳細]

#include "config/mist_conf.h"
#include "config/type_trait.h"
#include <cmath>

ソースコードを見る。

データ構造

class  mist::vector3< T >
 3次元ベクトルを扱うクラス [詳細]
class  mist::vector2< T >
 2次元ベクトルを扱うクラス [詳細]
class  mist::vector< T, Allocator >
 N次元ベクトルを扱うクラス [詳細]
struct  mist::vector< T, Allocator >::rebind< TT, AAllocator >
 データ型の変換を行う [詳細]

ネームスペース

namespace  mist

関数

template<class T1 , class T2 >
promote_trait< T1, T2 >::value_type mist::operator^ (const vector3< T1 > &v1, const vector3< T2 > &v2)
 ベクトルの内積
template<class T >
std::ostream & mist::operator<< (std::ostream &out, const vector3< T > &v)
 ベクトルの和
template<class T >
std::istream & mist::operator>> (std::istream &in, vector3< T > &v)
 Method for reading the vector comma separated from an istream.
template<class T1 , class T2 >
promote_trait< T1, T2 >::value_type mist::operator^ (const vector2< T1 > &v1, const vector2< T2 > &v2)
 ベクトルの内積
template<class T1 , class T2 >
promote_trait< T1, T2 >::value_type mist::operator* (const vector2< T1 > &v1, const vector2< T2 > &v2)
 ベクトルの外積
template<class T >
std::ostream & mist::operator<< (std::ostream &out, const vector2< T > &v)
 ベクトルの和
template<class T >
std::istream & mist::operator>> (std::istream &in, vector2< T > &v)
 Method for reading the vector comma separated from an istream.
template<class T , class Allocator >
inline::std::ostream & mist::operator<< (::std::ostream &out, const vector< T, Allocator > &v)
 指定されたストリームに,行列内の要素を整形して出力する
template<class T , class Allocator >
vector< T, Allocator > mist::operator* (const vector< T, Allocator > &v1, const vector< T, Allocator > &v2)
 ベクトルの外積を計算する

説明

各次元に対応したベクトル演算を行うためのライブラリ


Generated on Wed Nov 12 2014 19:44:28 for MIST by doxygen 1.8.1.2