@@ -63,6 +63,11 @@ vvextrema(f, initmin::Iₘᵢₙ, initmax::Iₘₐₓ, A, dims) where {Iₘᵢ
63
63
vvextrema (f, initmin:: Iₘ ᵢₙ, initmax:: Iₘₐₓ , A, dims) where {Iₘᵢₙ<: Number , Iₘₐₓ<: Function } =
64
64
vvextrema (f, initmin, initmax (Base. promote_op (f, eltype (A))), A, dims)
65
65
66
+ vvextrema (f, initmin:: Iₘ ᵢₙ, initmax:: Iₘₐₓ , A, dims:: Int ) where {Iₘᵢₙ<: Function , Iₘₐₓ<: Number } =
67
+ vvextrema (f, initmin (Base. promote_op (f, eltype (A))), initmax, A, (dims,))
68
+ vvextrema (f, initmin:: Iₘ ᵢₙ, initmax:: Iₘₐₓ , A, dims:: Int ) where {Iₘᵢₙ<: Number , Iₘₐₓ<: Function } =
69
+ vvextrema (f, initmin, initmax (Base. promote_op (f, eltype (A))), A, (dims,))
70
+
66
71
# ###############
67
72
68
73
function vvextrema (f:: F , initmin:: Iₘ ᵢₙ, initmax:: Iₘₐₓ , A:: AbstractArray{T, N} , :: Colon ) where {F, Iₘᵢₙ<: Function , Iₘₐₓ<: Function , T, N}
@@ -612,6 +617,10 @@ vtextrema(f, initmin::Iₘᵢₙ, initmax::Iₘₐₓ, A, dims) where {Iₘᵢ
612
617
vtextrema (f, initmin:: Iₘ ᵢₙ, initmax:: Iₘₐₓ , A, dims) where {Iₘᵢₙ<: Number , Iₘₐₓ<: Function } =
613
618
vtextrema (f, initmin, initmax (Base. promote_op (f, eltype (A))), A, dims)
614
619
620
+ vtextrema (f, initmin:: Iₘ ᵢₙ, initmax:: Iₘₐₓ , A, dims:: Int ) where {Iₘᵢₙ<: Function , Iₘₐₓ<: Number } =
621
+ vtextrema (f, initmin (Base. promote_op (f, eltype (A))), initmax, A, (dims,))
622
+ vtextrema (f, initmin:: Iₘ ᵢₙ, initmax:: Iₘₐₓ , A, dims:: Int ) where {Iₘᵢₙ<: Number , Iₘₐₓ<: Function } =
623
+ vtextrema (f, initmin, initmax (Base. promote_op (f, eltype (A))), A, (dims,))
615
624
# ###############
616
625
617
626
function vtextrema (f:: F , initmin:: Iₘ ᵢₙ, initmax:: Iₘₐₓ , A:: AbstractArray{T, N} , :: Colon ) where {F, Iₘᵢₙ<: Function , Iₘₐₓ<: Function , T, N}
0 commit comments