brian bovril

769 Reputation

16 Badges

13 years, 342 days

MaplePrimes Activity


These are questions asked by brian bovril

My question is within the worksheet.

assignation.mw

Is it possible to print/display a hyperlink within a worksheet (programatically, not by clicking menu)?

For example:

Software:="Maple";  # URL:=www.maplesoft.com

so it outputs:

Maple
 

Hi

I have a long column vector containing data in Records.

A:=Vector[column](4, [J_K = `Record(mu = 724.901557888305, sigma = 96.7437910529146)`, I_W = `Record(mu = 775.098442111694, sigma = 96.7437910529198)`, K_J = `Record(mu = 785.098442111694, sigma = 96.7437910529198)`, D_B = `Record(mu = 764.901557888305, sigma = 96.7437910529146)`])

How to I sort this in descending values of mu so I get:

Vector[column](4, [K_J = `Record(mu = 785.098442111694, sigma = 96.7437910529198)`,I_W = `Record(mu = 775.098442111694, sigma = 96.7437910529198)`,D_B = `Record(mu = 764.901557888305, sigma = 96.7437910529146)`,J_K = `Record(mu = 724.901557888305, sigma = 96.7437910529146)`])

Im aware you can extract mu from Records by the rhs(A[1]):-mu

 

 

Hi

I've got this list:

L:=[[TC,DB], [], [TD,JK], [IW,CM], [], [KJ,DJ]]

What command to remove the 'null sets', leaving :=[[TC,DB],[TD,JK], [IW,CM], [KJ,DJ]]

this doesn't work:

remove(has, L, 0)

Hello

I'm importing some data from Excel which comes across as L:

L := Matrix(1, 6, [["TC,DB", "PC,JL", "TD,JK", "IW,CM", "CC,PG", "KJ,DJ"]])

M: = convert( L,'list' );

["TC,DB", "PC,JL", "TD,JK", "IW,CM", "CC,PG", "KJ,DJ"

map(convert, M, 'name') ; # remove inverted commas

[`TC,DB`, `PC,JL`, `TD,JK`, `IW,CM`, `CC,PG`, `KJ,DJ`]

How to I add square brackets to each pair in the output?

What I want is a command to display L or M as:

[[TC,DB], [PC,JL], [TD,JK], [IW,CM], [CC,PG], [KJ,DJ]]

 

First 6 7 8 9 10 11 12 Last Page 8 of 31