octave bsxfun
> help bsxfun 'bsxfun' is a built-in function from the file libinterp/corefcn/bsxfun.cc -- bsxfun (F, A, B) The binary singleton expansion function performs broadcasting, that is, it applies a binary function F element-by-element to two array arguments A and B, and expands as necessary singleton dimensions in either input argument. F is a function handle, inline function, or string containing the name of the function to evaluate. The function F must be capable of accepting two column-vector arguments of equal length, or one column vector argument and a scalar. The dimensions of A and B must be equal or singleton. The singleton dimensions of the arrays will be expanded to the same dimensionality as the other array. See also: arrayfun, cellfun. Additional help for built-in functions and operators is available in the online version of the manual. Use the command 'doc <topic>' to search the manual index. Help and information about Octave is also available on the WWW at http://www.octave.org and via the help@octave.org mailing list.
broadcastとsingletonってなんだろ?
singleton dimensions:大きさが1の次元という意味らしい。
: bsxfun (f, A, B) The binary singleton expansion function performs broadcasting, that is, it applies a binary function f element-by-element to two array arguments A and B, and expands as necessary singleton dimensions in either input argument. f is a function handle, inline function, or string containing the name of the function to evaluate. The function f must be capable of accepting two column-vector arguments of equal length, or one column vector argument and a scalar. The dimensions of A and B must be equal or singleton. The singleton dimensions of the arrays will be expanded to the same dimensionality as the other array. See also: arrayfun, cellfun.
static constの配置場所
定数が何故スタック領域に配置されるのか - 109: 開発ツール - Forum - かふぇルネ - Renesas Rulz - Japan
より、引用
Renesasの場合 ① const static char[] = "A" : C-1セクション ② static const char[] = "B" : C-1セクション ③ const char[] = "C" : スタックエリア ④ char[] = "D" : スタックエリア ⑤ static char[] = "E" : R-1、D-1セクション(初期値付き変数)
ML UnitTests EX4
input_layer_size=il hidden_layer_size =hl num_labels=nl nn_params=nn
https://www.coursera.org/learn/machine-learning/discussions/weeks/5/threads/uPd5FJqnEeWWpRIGHRsuuw