File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/math/base/special/cosd Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 " cosine" ,
6868 " trig" ,
6969 " trigonometry"
70- ]
70+ ],
71+ "__stdlib__" : {
72+ "scaffold" : {
73+ "$schema" : " math/base@v1.0" ,
74+ "base_alias" : " cos" ,
75+ "alias" : " cosd" ,
76+ "pkg_desc" : " compute the cosine" ,
77+ "desc" : " computes the cosine" ,
78+ "short_desc" : " cosine" ,
79+ "parameters" : [
80+ {
81+ "name" : " x" ,
82+ "desc" : " input value (in degrees)" ,
83+ "type" : {
84+ "javascript" : " number" ,
85+ "jsdoc" : " number" ,
86+ "c" : " double" ,
87+ "dtype" : " float64"
88+ },
89+ "domain" : [
90+ {
91+ "min" : " -infinity" ,
92+ "max" : " infinity"
93+ }
94+ ],
95+ "rand" : {
96+ "prng" : " random/base/uniform" ,
97+ "parameters" : [
98+ -360 ,
99+ 360
100+ ]
101+ },
102+ "example_values" : [
103+ 0 ,
104+ 30 ,
105+ 45 ,
106+ 60 ,
107+ 90 ,
108+ 120 ,
109+ 180 ,
110+ -30 ,
111+ -45 ,
112+ -60 ,
113+ -90 ,
114+ -120 ,
115+ -180 ,
116+ 270 ,
117+ -270 ,
118+ 360 ,
119+ -360 ,
120+ 220 ,
121+ -80 ,
122+ -40
123+ ]
124+ }
125+ ],
126+ "output_policy" : " real_floating_point_and_generic" ,
127+ "returns" : {
128+ "desc" : " cosine" ,
129+ "type" : {
130+ "javascript" : " number" ,
131+ "jsdoc" : " number" ,
132+ "c" : " double" ,
133+ "dtype" : " float64"
134+ }
135+ },
136+ "keywords" : [
137+ " cos" ,
138+ " cosd" ,
139+ " cosine" ,
140+ " trig" ,
141+ " trigonometry" ,
142+ " degrees"
143+ ],
144+ "extra_keywords" : [
145+ " math.cos"
146+ ]
147+ }
148+ }
71149}
You can’t perform that action at this time.
0 commit comments