Skip to content

Commit 3dddaf5

Browse files
jaharvey8twiecki
authored andcommitted
Adding functions to math.py issue #6948
1 parent eb1d63a commit 3dddaf5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

pymc/math.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from pytensor.tensor import (
3333
abs,
3434
and_,
35+
broadcast_to,
3536
ceil,
3637
clip,
3738
concatenate,
@@ -45,6 +46,8 @@
4546
erfcinv,
4647
erfinv,
4748
exp,
49+
fill,
50+
fill_like,
4851
flatten,
4952
floor,
5053
ge,
@@ -55,9 +58,12 @@
5558
logaddexp,
5659
logsumexp,
5760
lt,
61+
matmul,
5862
maximum,
63+
mean,
5964
minimum,
6065
neq,
66+
ones,
6167
ones_like,
6268
or_,
6369
prod,
@@ -73,6 +79,7 @@
7379
tan,
7480
tanh,
7581
where,
82+
zeros,
7683
zeros_like,
7784
)
7885
from pytensor.tensor.linalg import solve_triangular
@@ -87,6 +94,7 @@
8794
__all__ = [
8895
"abs",
8996
"and_",
97+
"broadcast_to",
9098
"ceil",
9199
"clip",
92100
"concatenate",
@@ -100,6 +108,8 @@
100108
"erfcinv",
101109
"erfinv",
102110
"exp",
111+
"fill",
112+
"fill_like",
103113
"flatten",
104114
"floor",
105115
"ge",
@@ -110,9 +120,12 @@
110120
"logaddexp",
111121
"logsumexp",
112122
"lt",
123+
"matmul",
113124
"maximum",
125+
"mean",
114126
"minimum",
115127
"neq",
128+
"ones",
116129
"ones_like",
117130
"or_",
118131
"prod",
@@ -128,6 +141,7 @@
128141
"tan",
129142
"tanh",
130143
"where",
144+
"zeros",
131145
"zeros_like",
132146
"kronecker",
133147
"cartesian",

0 commit comments

Comments
 (0)