|
[Date Index]
[Thread Index]
[Author Index]
Use pattern to find minimum without using min
- To: mathgroup at smc.vnet.net
- Subject: [mg71808] Use pattern to find minimum without using min
- From: "wooks" <wookiz at hotmail.com>
- Date: Thu, 30 Nov 2006 06:04:57 -0500 (EST)
Tried
{9, 4, 6, 5, 3, 7} //. {a___, b_, c___, d_, e___} :> b /; (b < d)
and
{9, 4, 6, 5, 3, 7} //. {x_,y_,z___} :> {x,z} /; (x<y)
without much success.
Prev by Date:
Re: Re: Re: Arithmetic Puzzle (so simple it's hard)
Next by Date:
Algorithm used by "Reduce" function
Previous by thread:
RE: Graphics--How to plot all functions issued from For loop and color
Next by thread:
Algorithm used by "Reduce" function
|