Sponsored Content
The Lounge What is on Your Mind? New 'member_project' tag with DarkGreen (was Magenta) Color Post 303039655 by wisecracker on Friday 11th of October 2019 05:45:32 AM
Old 10-11-2019
Hi Neo...
Thanks for the comments...
I hadn't even thought about it. I only do these tasks because when searching there are SOOO many people asking for solutions to problems like these.
I really love it when one of our big guns modify the ideas to make them better, the GOTO fun project is but one.
I don't look at the subtleties like the pros' do as I am more interested in solving them, usually relatively naively.
The PURE ksh[93] DFT is a prime example on here too, boy did I learn a lot from Corona688 there.
They are mainly for the AMIGA because we don't have these luxuries on that platform. My next challenge for a POSIX shell is a DWT, (Discrete Wavelet Transform), already done for AMIGA Python 1.4.0 right up to current 3.8.0 on any platform because 'pywt' was not even around for the AMIGA. We don't have 'numpy' or 'scipy' or any others so I do these primarily for that machine.
I love the idea of a vivid colour like MAGENTA because if a problem is searched for and the researcher is pointed to here it catches one's eye. It only needs to plant the idea to the researcher and, (if bright enough), [s]he should be able to do the rest.

I will add to this thread a simple idea for find the SQRT of a pseudo-floating point number and its limitations.
I not bothering with complex number solutions as no genius is required for that modification, especially after I have mentioned how to do it.

And to finish, a great idea.

Bazza...
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies

2. Shell Programming and Scripting

To search for a particular tag in xml and collate all similar tag values and display them count

I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help File: <xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies
Color::Library::Color(3pm)				User Contributed Perl Documentation				Color::Library::Color(3pm)

NAME
Color::Library::Color - Color entry for a Color::Library color dictionary METHODS
$id = $color->id Returns the id of the color A color id is in the format of <dictionary_id:color_name>, e.g. svg:aliceblue x11:bisque2 nbs-iscc-f:chromeyellow.66 vaccc:darkspringyellow $name = $color->name Returns the name of the color, e.g. aliceblue bisque2 chromeyellow darkspringyellow $title = $color->title Returns the title of the color, e.g. aliceblue bisque2 chrome yellow Dark Spring-Yellow $dictionary = $color->dictionary Returns the Color::Library::Dictionary object that the color belongs to $hex = $color->hex Returns the hex value of the color, e.g. ff08ff eed5b7 eaa221 669900 Note that $hex does NOT include the leading #, for that use $color->html, $color->css, or $color->svg $html = $color->html $css = $color->css $svg = $color->svg Returns the hex value of the color with a leading #, suitable for use in HTML, CSS, or SVG documents, e.g. #ff08ff #eed5b7 #eaa221 #669900 $value = $color->value Returns the numeric value of the color, e.g. 15792383 15652279 15376929 6723840 ($r, $g, $b) = $color->rgb Returns r, g, and b values of the color as a 3 element list (list context), e.g. (240, 248, 255) $rgb = $color->rgb Returns r, g, and b values of the color in a 3 element array (scalar context), e.g. [ 240, 248, 255 ] $color = Color::Library::Color->new( id => $id, name => $name, title => $title, value => $value ) $color = Color::Library::Color->new( { id => $id, name => $name, title => $title, value => $value } ) $color = Color::Library::Color->new( [[ $id, $name, $title, $rgb, $hex, $value ]] ) Returns a new Color::Library::Color object representing the specified color You probably don't want/need to call this yourself FUNCTIONS $hex = Color::Library::Color::rgb2hex( $rgb ) $hex = Color::Library::Color::rgb2hex( $r, $g, $b ) Converts an rgb value to its hex representation $value = Color::Library::Color::rgb2value( $rgb ) $value = Color::Library::Color::rgb2value( $r, $g, $b ) Converts an rgb value to its numeric representation $rgb = Color::Library::Color::value2rgb( $value ) ($r, $g, $b) = Color::Library::Color::value2rgb( $value ) Converts a numeric color value to its rgb representation ($r, $g, $b) = Color::Library::Color::parse_rgb_color( $hex ) ($r, $g, $b) = Color::Library::Color::parse_rgb_color( $value ) Makes a best effort to convert a hex or numeric color value to its rgb representation perl v5.14.2 2011-12-07 Color::Library::Color(3pm)
All times are GMT -4. The time now is 05:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy