Group Abstract Group Abstract

Message Boards Message Boards

0
|
5K Views
|
1 Reply
|
3 Total Likes
View groups...
Share
Share this post:

[Solved] How to set up this minimization problem?

Posted 4 years ago
POSTED BY: Richard Frost

Richard, I guess you basically have to define your function labspace in a way to prohibit evaluation of non-numeric arguments. Try:

labspace[l_?NumericQ, a_?NumericQ, b_?NumericQ, i_, cs_] := 
 ColorConvert[ColorConvert[LABColor[l, a, b], cs], "LAB"][[i]]
POSTED BY: Henrik Schachner
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard