QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
1-D array used in linear algebra. More...
#include <ql/types.hpp>
#include <ql/errors.hpp>
#include <ql/utilities/null.hpp>
#include <iterator>
#include <functional>
#include <algorithm>
#include <numeric>
#include <vector>
#include <initializer_list>
#include <iomanip>
#include <memory>
#include <type_traits>
Go to the source code of this file.
Classes | |
class | Array |
1-D array used in linear algebra. More... | |
class | Null< Array > |
specialization of null template for this class More... | |
Namespaces | |
namespace | QuantLib |
namespace | QuantLib::detail |
Functions | |
template<class I > | |
void | _fill_array_ (Array &a, std::unique_ptr< Real[]> &data_, Size &n_, I begin, I end, const std::true_type &) |
template<class I > | |
void | _fill_array_ (Array &a, std::unique_ptr< Real[]> &data_, Size &n_, I begin, I end, const std::false_type &) |
Real | DotProduct (const Array &v1, const Array &v2) |
Real | Norm2 (const Array &v) |
Array | operator+ (const Array &v) |
Array | operator+ (Array &&v) |
Array | operator- (const Array &v) |
Array | operator- (Array &&v) |
Array | operator+ (const Array &v1, const Array &v2) |
Array | operator+ (const Array &v1, Array &&v2) |
Array | operator+ (Array &&v1, const Array &v2) |
Array | operator+ (Array &&v1, Array &&v2) |
Array | operator+ (const Array &v1, Real a) |
Array | operator+ (Array &&v1, Real a) |
Array | operator+ (Real a, const Array &v2) |
Array | operator+ (Real a, Array &&v2) |
Array | operator- (const Array &v1, const Array &v2) |
Array | operator- (const Array &v1, Array &&v2) |
Array | operator- (Array &&v1, const Array &v2) |
Array | operator- (Array &&v1, Array &&v2) |
Array | operator- (const Array &v1, Real a) |
Array | operator- (Array &&v1, Real a) |
Array | operator- (Real a, const Array &v2) |
Array | operator- (Real a, Array &&v2) |
Array | operator* (const Array &v1, const Array &v2) |
Array | operator* (const Array &v1, Array &&v2) |
Array | operator* (Array &&v1, const Array &v2) |
Array | operator* (Array &&v1, Array &&v2) |
Array | operator* (const Array &v1, Real a) |
Array | operator* (Array &&v1, Real a) |
Array | operator* (Real a, const Array &v2) |
Array | operator* (Real a, Array &&v2) |
Array | operator/ (const Array &v1, const Array &v2) |
Array | operator/ (const Array &v1, Array &&v2) |
Array | operator/ (Array &&v1, const Array &v2) |
Array | operator/ (Array &&v1, Array &&v2) |
Array | operator/ (const Array &v1, Real a) |
Array | operator/ (Array &&v1, Real a) |
Array | operator/ (Real a, const Array &v2) |
Array | operator/ (Real a, Array &&v2) |
Array | Abs (const Array &v) |
Array | Abs (Array &&v) |
Array | Sqrt (const Array &v) |
Array | Sqrt (Array &&v) |
Array | Log (const Array &v) |
Array | Log (Array &&v) |
Array | Exp (const Array &v) |
Array | Exp (Array &&v) |
Array | Pow (const Array &v, Real alpha) |
Array | Pow (Array &&v, Real alpha) |
void | swap (Array &v, Array &w) noexcept |
std::ostream & | operator<< (std::ostream &out, const Array &a) |
1-D array used in linear algebra.
Definition in file array.hpp.