MiniTensor Version of the Day
Loading...
Searching...
No Matches
MiniTensor_Vector.h File Reference
#include <algorithm>
#include <cassert>
#include <iomanip>
#include <iostream>
#include <vector>
#include <Kokkos_Core.hpp>
#include "MiniTensor_TensorBase.h"

Go to the source code of this file.

Classes

class  minitensor::Vector< T, N >
 The classes. More...
 

Namespaces

namespace  minitensor
 

Typedefs

template<typename T , Index N>
using minitensor::vector_store = Storage< T, dimension_power< N, 1 >::value >
 

Functions

template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator+ (Vector< S, N > const &u, Vector< T, N > const &v)
 
template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator- (Vector< S, N > const &u, Vector< T, N > const &v)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::operator- (Vector< T, N > const &u)
 
template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION Promote< S, T >::type minitensor::operator* (Vector< S, N > const &u, Vector< T, N > const &v)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION bool minitensor::operator== (Vector< T, N > const &u, Vector< T, N > const &v)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION bool minitensor::operator!= (Vector< T, N > const &u, Vector< T, N > const &v)
 
template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_vector< Promote< S, T >, N > >::type minitensor::operator* (S const &s, Vector< T, N > const &u)
 
template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_vector< Promote< S, T >, N > >::type minitensor::operator* (Vector< T, N > const &u, S const &s)
 
template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator/ (Vector< T, N > const &u, S const &s)
 
template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator/ (S const &s, Vector< T, N > const &u)
 
template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION Promote< S, T >::type minitensor::dot (Vector< S, N > const &u, Vector< T, N > const &v)
 
template<typename S , typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::cross (Vector< S, N > const &u, Vector< T, N > const &v)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::norm (Vector< T, N > const &u)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::norm_square (Vector< T, N > const &u)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::norm_1 (Vector< T, N > const &u)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::norm_infinity (Vector< T, N > const &u)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::unit (Vector< T, N > const &u)
 
template<typename T , Index N>
std::pair< Vector< T, N >, T > minitensor::house (Vector< T, N > const &x)
 
template<typename T , Index N>
std::istream & minitensor::operator>> (std::istream &is, Vector< T, N > &u)
 
template<typename T , Index N>
std::ostream & minitensor::operator<< (std::ostream &os, Vector< T, N > const &u)