Previous Page Next Page Contents

numlib::Lambda -- von Mangoldt's function

Introduction

numlib::Lambda(m) returns the value of von Mangoldt's function at m.

Call(s)

numlib::Lambda(m)

Parameters

m - arithmetical expression

Returns

numlib::Lambda returns an arithmetical expression

Related Functions

numlib::ispower

Details

Example 1

numlib::Lambda takes on nonzero values only for prime powers:

>> numlib::Lambda(49)
                                   ln(7)
>> numlib::Lambda(48)
                                     0

Example 2

numlib::Lambda returns the function call if its argument is not a number:

>> numlib::Lambda(3+n^4)
                                          4
                          numlib::Lambda(n  + 3)

Background

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000