4 years, 91 days

## Finding error in my system in one functi...

@Carl Love Kind help attached error error_in_my_system.mw

Second one change in my way of question i found when was excecuting Kitonum 18884 I found a blunder in the way I questioned my problem.

The number of columns and rows is immaterial in the matrix

Now let one row of matrix A has say  [0,1,2,2,1,2,3,2,3,4,1,1]

Let one row of matrix B has say [0,1,2,1,2,2,3,2,3,1,1,4]

forgetining the number of zeros,

The 1 has occured 4 times in that row in A , similiarly 1 has occured 4 times in B in a row

in the same row 2 has occured 4 times in A , similiarly 2 has occured 4 times in B in that same row

simiarly 3 has occured 2 times in the same row in in A, similiarly 3 has occured 2 times in B in that same row

similiarly 4 has occured 1 times in the same row in in A, similiarly 3 has occured 1 times in B in that same row

So both rows have same number of occurences of the non-zero elements then we say that those to rows of A and B are same.

That is based on number of occurences of the non-zero elements

A=[4,2,2,1]  and B=[4,2,2,1]     first denotes the number of occurence of 1, next denotes number of occurence of 2 and third the number of occurence of 3 and fourth the number occurrence of 4

so if their are extra higher number it will go upto that then we can check the regular equality of the both in the order. need help kind help.

If not those two rows are not equal.

So now to find how many rows are same with the above condition or all rows not equal to the other at all in both matricies A and B

Please kind help it will be acknowledged

## one more help sir with creating a tag...

@Carl Love Respected sir for may be a simple question without creating a theard

Say i have a list

L1=[1,2,a,b,7,8,9] some elements

L2=[a,7,2,9]

I would like to find if the elements L2 are in L1
is converting them to sets and comparing correct or is their any other better way

## Kind help how to use it in maple code...

@lcz Respected sir,

Please help with a 2 sample code and steps may be how to use that in my maple program.

## Sorry...

@Carl Love I didn't know so only I put like that to explain and ask you the way I wanted

## one small extra change...

@Carl Love One change is in the above proc x and y will be function with return value.

Function F and Function G say Then F(parameter) &op G(parameters) the &op is done on the return values of these function The function needs to take two functions as parameters.

So if call Anyop with F1,F2,'*' it will do F1*F2    these F1 and F2 are other function which are defined.

Suppose i call with F1,F3,'+'n it will do F1+F2 for the returned values of F1 and F2

AnyOp:= proc(`&op`, Function::F1, Function::F2) It is worng may be kind help with how to approch this.

Thank you

## Is this anyway to directly write to exce...

@dharr is their anyway to directly write row by row into excel as I get the list output of each row.

Rather than forming the matrix and then exporting

## Not able to export the matrix properly i...

I am not able to export the below done matrix into excel properly if possible kind help

actually one more matrix i have also such size it is not exporting properly

Matrix(83, 16, [[138, 404, 854, .4364583333, 7.236382104, 5084, 25.71666667, 2.190628816, 33.45543346, 512.6298464, 28.15000000, 2.072114828, 48, 232, 120, 52.15172132,138, 404, 854,

[many lines deleted by moderator - matrix is in worksheet in reply by @dharr]

38.67543290, 1.955158967, 106, 499, 210, 83.78698428,142, 350, 724, .8428571429, 7.236382104, 3692, 31.29523810, 3.384820735, 34.84425852, 428.5592785, 38.67543290, 1.955158967, 106, 499, 210, 83.78698428]])

Come like this inside with error when i open

 #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM!

## One small doubt...

@Carl Love if I could get help

Only difference now is I have made a single function just to return all the values

It will return different based on parameters passed

Any way to tweak the program

For now what I did is to declare the returning variables global

I didn't want to create a separate thread

If possible help sir

I have a set of inputs to function F

That is M1,M2,M3,...MN these are Graphs that is of type Graph from Graph theory

for i from 1 by 1 to n

### L=F("at each run I want the Mi it should call the relavent input of Mi how to pass")

Out:=<L[1],L[2],..,L[10]>

Thus function F for each run will output the different A,B,C,D,E,F... based on the input then Matrix

This loop also how to Mi I have a doubt with i changing only

M1 first time, M2 second time,.   .MN last time

n value will be given

Kind help that you

## How to convert to maple...

@dharr now to convert to maple a small example with pysmiles

## I need a Maple Graph structure...

@dharr I need a Maple Graph from smiles I want the connectivetity graph but I want it here via maple code

## Thank you sir...

@mmcdara I know linear fit

But as you said stepwise regression, ridge regression etc are further need help to do stepwise regression or ridge regression

I have a excel Data one dependent variable and several independant variable find the best fit with good R^2 , p-value small by picking the best set of independent variable to fit the dependent variable

## After appending...

@Preben Alsholm Thank you sir After appending in the above example form I am not able to properly see in Excel after exporting kindly help if you can take only the above two matricies after export to excel it is not opening properly

See How NUM is coming instead of those as in my example

kind help with only those two should may be work for all those of that type

kind help

## stalling on my system...

@acer It is a SSD system but it is stalling my system kind help what should i check

## I am asking for rtable...

@mmcdara i am asking for rtable

We may have 100 of calls of the same function for different inputs

Each calls ouput should be in the next row based on the order in which i call in the rtable

I could even have a different procedure with different outputs generated

O1, O2, O3... O8 etc too