op_randn_proto.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 class op_randn
00023 {
00024 private:
00025
00026 template<typename eT>
00027 inline static eT randn();
00028
00029 template<typename eT>
00030 inline static void direct_randn(eT* x, const u32 n_elem);
00031
00032
00033 public:
00034
00035 template<typename eT>
00036 inline static void apply(Mat<eT>& out, const Op<Mat<eT>,op_randn>& in);
00037
00038 template<typename eT>
00039 inline static void apply(Mat<eT>& out, const Op<Col<eT>,op_randn>& in);
00040
00041 template<typename eT>
00042 inline static void apply(Mat<eT>& out, const Op<Row<eT>,op_randn>& in);
00043
00044 template<typename eT>
00045 inline static void apply(Col<eT>& out, const Op<Col<eT>,op_randn>& in);
00046
00047 template<typename eT>
00048 inline static void apply(Row<eT>& out, const Op<Row<eT>,op_randn>& in);
00049 };
00050
00051
00052